package com.example.mobile2121606109ycg0509;

import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;

import androidx.appcompat.app.AppCompatActivity;

public class ShowDateActivity extends AppCompatActivity {

    private TextView tvShowDateUserName;
    private TextView tvShowDatePassword;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_show_date);
        initView();

        Intent intent =getIntent();
        tvShowDateUserName.setText(intent.getStringExtra("userName"));
        Bundle extras = intent.getExtras();
        tvShowDatePassword.setText(extras.getString("passWord"));
    }

    private void initView() {
        tvShowDateUserName = (TextView) findViewById(R.id.tvShowDateUserName);
        tvShowDatePassword = (TextView) findViewById(R.id.tvShowDatePassword);
    }
}